home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-04-25 | 1.6 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: About.c++
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Apr 25 18:01:56 1994, modified Mon Apr 25 18:01:56 1994, creator Think C, type ASCII, 1070 bytes "About.c++" , at 0x4ae 342 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 41 62 6f 75 74 2e | 63 2b 2b 00 00 00 00 00 |..About.|c++.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 04 2e 00 | 00 01 56 a9 e1 ee 54 a9 |........|..V...T.|
|00000060| e1 ee 54 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..T.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 09 7e 00 00 |........|.....~..|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 3c 53 6f 75 6e 64 2e |#include| <Sound.|
|00000090| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 22 41 62 6f |h>.#incl|ude "Abo|
|000000a0| 75 74 2e 68 22 0d 0d 63 | 6f 6e 73 74 20 73 68 6f |ut.h"..c|onst sho|
|000000b0| 72 74 20 6b 41 62 6f 75 | 74 49 44 20 3d 20 31 33 |rt kAbou|tID = 13|
|000000c0| 31 3b 09 2f 2f 20 52 73 | 72 63 20 69 64 20 66 6f |1;.// Rs|rc id fo|
|000000d0| 72 20 64 69 61 6c 6f 67 | 2c 20 70 69 63 74 75 72 |r dialog|, pictur|
|000000e0| 65 2c 20 61 6e 64 20 73 | 6f 75 6e 64 2e 0d 09 09 |e, and s|ound....|
|000000f0| 09 09 09 09 09 2f 2f 20 | 49 66 20 79 6f 75 20 64 |.....// |If you d|
|00000100| 65 6c 65 74 65 20 74 68 | 65 20 70 69 63 74 75 72 |elete th|e pictur|
|00000110| 65 20 61 6e 64 2f 6f 72 | 20 73 6f 75 6e 64 2c 20 |e and/or| sound, |
|00000120| 74 68 61 74 27 73 20 4f | 4b 2e 0d 09 09 09 09 09 |that's O|K.......|
|00000130| 09 09 2f 2f 20 54 68 69 | 73 20 72 6f 75 74 69 6e |..// Thi|s routin|
|00000140| 65 20 57 4f 4e 27 54 20 | 63 72 61 73 68 3b 20 68 |e WON'T |crash; h|
|00000150| 6f 77 65 76 65 72 2c 20 | 44 4f 20 4e 4f 54 20 64 |owever, |DO NOT d|
|00000160| 69 73 74 72 69 62 75 74 | 65 0d 09 09 09 09 09 09 |istribut|e.......|
|00000170| 09 2f 2f 20 74 68 65 20 | 6d 6f 64 69 66 69 65 64 |.// the |modified|
|00000180| 20 76 65 72 73 69 6f 6e | 21 21 21 21 0d 0d 76 6f | version|!!!!..vo|
|00000190| 69 64 20 44 6f 52 67 6e | 4d 61 73 74 65 72 41 62 |id DoRgn|MasterAb|
|000001a0| 6f 75 74 28 29 20 7b 0d | 09 48 61 6e 64 6c 65 20 |out() {.|.Handle |
|000001b0| 61 62 6f 75 74 50 69 63 | 3b 0d 09 48 61 6e 64 6c |aboutPic|;..Handl|
|000001c0| 65 20 61 62 6f 75 74 53 | 6e 64 3b 0d 09 47 72 61 |e aboutS|nd;..Gra|
|000001d0| 66 50 74 72 20 73 61 76 | 65 50 6f 72 74 3b 0d 09 |fPtr sav|ePort;..|
|000001e0| 44 69 61 6c 6f 67 50 74 | 72 20 61 62 6f 75 74 44 |DialogPt|r aboutD|
|000001f0| 6c 6f 67 3b 0d 09 73 68 | 6f 72 74 20 69 74 65 6d |log;..sh|ort item|
|00000200| 48 69 74 3b 0d 0d 09 2f | 2f 20 44 6f 20 73 6f 6d |Hit;.../|/ Do som|
|00000210| 65 20 70 72 65 2d 66 6c | 69 67 68 74 69 6e 67 2e |e pre-fl|ighting.|
|00000220| 2e 2e 0d 09 61 62 6f 75 | 74 50 69 63 20 3d 20 47 |....abou|tPic = G|
|00000230| 65 74 52 65 73 6f 75 72 | 63 65 28 27 50 49 43 54 |etResour|ce('PICT|
|00000240| 27 2c 20 6b 41 62 6f 75 | 74 49 44 29 3b 0d 09 69 |', kAbou|tID);..i|
|00000250| 66 20 28 61 62 6f 75 74 | 50 69 63 20 3d 3d 20 6e |f (about|Pic == n|
|00000260| 69 6c 29 20 7b 0d 09 09 | 53 79 73 42 65 65 70 28 |il) {...|SysBeep(|
|00000270| 31 29 3b 0d 09 09 72 65 | 74 75 72 6e 3b 0d 09 7d |1);...re|turn;..}|
|00000280| 0d 09 65 6c 73 65 20 7b | 0d 09 09 52 65 6c 65 61 |..else {|...Relea|
|00000290| 73 65 52 65 73 6f 75 72 | 63 65 28 61 62 6f 75 74 |seResour|ce(about|
|000002a0| 50 69 63 29 3b 09 2f 2f | 20 57 69 6c 6c 20 62 65 |Pic);.//| Will be|
|000002b0| 20 6c 6f 61 64 65 64 20 | 62 79 20 5f 47 65 74 4e | loaded |by _GetN|
|000002c0| 65 77 44 69 61 6c 6f 67 | 2c 20 62 65 6c 6f 77 0d |ewDialog|, below.|
|000002d0| 09 7d 0d 0d 09 61 62 6f | 75 74 53 6e 64 20 3d 20 |.}...abo|utSnd = |
|000002e0| 47 65 74 52 65 73 6f 75 | 72 63 65 28 27 41 53 6e |GetResou|rce('ASn|
|000002f0| 64 27 2c 20 6b 41 62 6f | 75 74 49 44 29 3b 0d 09 |d', kAbo|utID);..|
|00000300| 69 66 20 28 61 62 6f 75 | 74 53 6e 64 20 3d 3d 20 |if (abou|tSnd == |
|00000310| 6e 69 6c 29 20 7b 0d 09 | 09 53 79 73 42 65 65 70 |nil) {..|.SysBeep|
|00000320| 28 31 29 3b 0d 09 09 72 | 65 74 75 72 6e 3b 0d 09 |(1);...r|eturn;..|
|00000330| 7d 0d 09 65 6c 73 65 20 | 7b 0d 09 09 48 4c 6f 63 |}..else |{...HLoc|
|00000340| 6b 48 69 28 61 62 6f 75 | 74 53 6e 64 29 3b 0d 09 |kHi(abou|tSnd);..|
|00000350| 7d 0d 0d 09 47 65 74 50 | 6f 72 74 28 26 73 61 76 |}...GetP|ort(&sav|
|00000360| 65 50 6f 72 74 29 3b 0d | 0d 09 61 62 6f 75 74 44 |ePort);.|..aboutD|
|00000370| 6c 6f 67 20 3d 20 47 65 | 74 4e 65 77 44 69 61 6c |log = Ge|tNewDial|
|00000380| 6f 67 28 6b 41 62 6f 75 | 74 49 44 2c 20 6e 69 6c |og(kAbou|tID, nil|
|00000390| 2c 20 28 57 69 6e 64 6f | 77 50 74 72 29 2d 31 29 |, (Windo|wPtr)-1)|
|000003a0| 3b 0d 09 53 65 74 50 6f | 72 74 28 61 62 6f 75 74 |;..SetPo|rt(about|
|000003b0| 44 6c 6f 67 29 3b 0d 09 | 53 68 6f 77 57 69 6e 64 |Dlog);..|ShowWind|
|000003c0| 6f 77 28 61 62 6f 75 74 | 44 6c 6f 67 29 3b 0d 09 |ow(about|Dlog);..|
|000003d0| 44 72 61 77 44 69 61 6c | 6f 67 28 61 62 6f 75 74 |DrawDial|og(about|
|000003e0| 44 6c 6f 67 29 3b 0d 09 | 0d 09 28 76 6f 69 64 29 |Dlog);..|..(void)|
|000003f0| 53 6e 64 50 6c 61 79 28 | 6e 69 6c 2c 20 61 62 6f |SndPlay(|nil, abo|
|00000400| 75 74 53 6e 64 2c 20 66 | 61 6c 73 65 29 3b 09 2f |utSnd, f|alse);./|
|00000410| 2f 20 53 79 6e 63 68 72 | 6f 6e 6f 75 73 0d 09 4d |/ Synchr|onous..M|
|00000420| 6f 64 61 6c 44 69 61 6c | 6f 67 28 6e 69 6c 2c 20 |odalDial|og(nil, |
|00000430| 26 69 74 65 6d 48 69 74 | 29 3b 0d 09 0d 09 48 55 |&itemHit|);....HU|
|00000440| 6e 6c 6f 63 6b 28 61 62 | 6f 75 74 53 6e 64 29 3b |nlock(ab|outSnd);|
|00000450| 0d 09 48 50 75 72 67 65 | 28 61 62 6f 75 74 53 6e |..HPurge|(aboutSn|
|00000460| 64 29 3b 0d 0d 09 44 69 | 73 70 6f 73 65 44 69 61 |d);...Di|sposeDia|
|00000470| 6c 6f 67 28 61 62 6f 75 | 74 44 6c 6f 67 29 3b 0d |log(abou|tDlog);.|
|00000480| 0d 09 53 65 74 50 6f 72 | 74 28 73 61 76 65 50 6f |..SetPor|t(savePo|
|00000490| 72 74 29 3b 0d 7d 20 2f | 2f 20 45 4e 44 20 44 6f |rt);.} /|/ END Do|
|000004a0| 52 67 6e 4d 61 73 74 65 | 72 41 62 6f 75 74 00 00 |RgnMaste|rAbout..|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 01 00 00 00 01 24 | 00 00 00 24 00 00 00 32 |.......$|...$...2|
|00000510| 74 65 6d 54 3b 20 52 65 | 63 74 20 69 74 65 6d 52 |temT; Re|ct itemR|
|00000520| 3b 0d 09 47 65 74 44 49 | 74 65 6d 28 74 68 65 44 |;..GetDI|tem(theD|
|00000530| 09 41 62 6f 75 74 2e 63 | 2b 2b 02 00 00 00 54 45 |.About.c|++....TE|
|00000540| 58 54 4b 41 48 4c 01 00 | ff ff ff ff 00 00 00 00 |XTKAHL..|........|
|00000550| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 ff ff ff ff |..TEXTKA|HL......|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 0c c3 a9 b7 f0 30 00 00 | 04 2e 00 00 01 56 44 49 |.....0..|.....VDI|
|00000580| 74 65 6d 54 65 78 74 0d | 0d 76 6f 69 64 20 53 65 |temText.|.void Se|
|00000590| 74 55 73 65 72 50 72 6f | 63 28 44 69 61 6c 6f 67 |tUserPro|c(Dialog|
|000005a0| 50 74 72 20 74 68 65 44 | 69 61 6c 6f 67 2c 20 73 |Ptr theD|ialog, s|
|000005b0| 68 6f 72 74 20 74 68 65 | 49 74 65 6d 2c 20 50 72 |hort the|Item, Pr|
|000005c0| 6f 63 50 74 72 20 74 68 | 65 50 72 6f 63 29 20 7b |ocPtr th|eProc) {|
|000005d0| 0d 09 48 61 6e 64 6c 65 | 20 69 74 65 6d 48 3b 20 |..Handle| itemH; |
|000005e0| 73 68 6f 72 74 20 69 74 | 65 6d 54 3b 20 52 65 63 |short it|emT; Rec|
|000005f0| 74 20 69 74 65 6d 52 3b | 0d 09 47 65 74 44 49 74 |t itemR;|..GetDIt|
|00000600| 00 00 00 20 00 01 00 00 | 01 13 00 00 01 23 15 00 |... ....|.....#..|
|00000610| 00 00 31 20 44 6f 52 67 | 6e 4d 61 73 74 65 72 41 |..1 DoRg|nMasterA|
|00000620| 62 6f 75 74 00 00 01 00 | 00 00 01 24 00 00 00 24 |bout....|...$...$|
|00000630| 00 00 00 32 00 6c 35 cc | 15 4e 00 00 00 1c 00 32 |...2.l5.|.N.....2|
|00000640| 00 00 4d 50 53 52 00 00 | 00 0a 03 ef ff ff 00 00 |..MPSR..|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+